package com.huanlis.cloud.controller;

import com.huanlis.cloud.utils.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试资源生产者
 *
 * @author lihuan
 * @since 2023/10/19 17:09:53
 */
@Slf4j
@RestController
@RequestMapping("/resource")
public class ResourceController {

    @GetMapping("/test")
    public R getResource() {
        log.info("有请求进入");
        return R.success();
    }

}
